<?php

use think\migration\Seeder;
use think\facade\Db;

class InsertSystemUploadClassify extends Seeder
{
    /**
     * Run Method.
     *
     * Write your database seeder using this method.
     *
     * More information on writing seeders is available here:
     * http://docs.phinx.org/en/latest/seeding.html
     */
    public function run()
    {
        DB::name('system_upload_classify')->insertAll([
            [
                'id'=>1,
                'pid'=>0,
                'name'=>'全部文件',
                'sort_no' => '0'
            ]
        ]);
    }
}